from datetime import datetime
x=str(datetime.now())
y=datetime.now()
y=y.strftime('%Y%m%d')
x=x.split()
x=x[0]+'-'+x[1][0:8]
f=open('./{}.log'.format(x),'a')
print(x)
f.write('669\n')
print(y)
